package it.clem.little.domain;

public class UnitSize {
  public final static UnitSize SIZE_1x1 = new UnitSize(1, 1);
  public final static UnitSize SIZE_2x1 = new UnitSize(2, 1);
  public final static UnitSize SIZE_2x2 = new UnitSize(2, 2);

  private final int width;
  private final int height;

  public UnitSize(int width, int height) {
    super();
    this.width = width;
    this.height = height;
  }

  public int getWidth() {
    return width;
  }

  public int getHeight() {
    return height;
  }

  @Override
  public String toString() {
    return width + "x" + height;
  }

}
